package cn.wei.sdd.core.mapper;

import cn.wei.sdd.core.pojo.entity.CheckRecord;
import cn.wei.sdd.core.pojo.query.CheckRecordQuery;
import cn.wei.sdd.core.pojo.vo.CheckOrdersVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 验收记录表 Mapper 接口
 * </p>
 *
 * @author Wei
 * @since 2021-11-15
 */
public interface CheckRecordMapper extends BaseMapper<CheckRecord> {
     List<CheckOrdersVO> getWaitCheckByUid(@Param("userId") Long userId, @Param("status") Integer status);
     IPage<CheckOrdersVO> mySelectPage(Page<CheckOrdersVO> page,@Param("crq") CheckRecordQuery checkRecordQuery);
}
